
/* $Id: rtc_test.c 16 2007-07-11 09:36:45Z kf701.ye $ */

#include "factory.h"
#include <time.h>

int main()
{
	debug_verbose = 4;

	time_t t = time(NULL);
	time_t x = get_rtc_time("/dev/rtc");
	sys_debug("now=%u, rtc_now=%u\n", t, x);
	return 0;
}
